<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use frontend\assets\AppAsset;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>


<div id="top32">
    <div class="w1000">
        <dl>
            <span>客服QQ：
                <a title="点击这里给我发消息"
                   href="http://wpa.qq.com/msgrd?v=3&amp;uin=2943099729&amp;site=qq&amp;menu=yes" rel="nofollow"
                   target="_blank">2943099729</a></span> <span>小欧:159-2109-2428</span>

            <a href="#" class="hrefs"
               onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.ezuhua.com');">设为首页</a>
            | <a href="javascript:window.external.AddFavorite('http://www.ezuhua.com', '易租花')">加入收藏</a> |

            <?php if (Yii::$app->user->isGuest): ?>
                <?= Html::a("登录", ['site/login']) ?> | <?= Html::a("免费注册", ['site/signup']) ?>
            <?php else: ?>
                <?= Html::a(Yii::$app->user->identity->username, ['user/']) ?> | <?= Html::a('退出', ['site/logout']) ?>
            <?php endif; ?>
        </dl>
        欢迎您来到易租花，亲近自然的办公环境！
    </div>
</div>
<div id="top">
    <div id="top_box" class="w1000">
        <h1>
            <?= Html::a('<img src="/images/logo.jpg"/>', ['site/']) ?>
        </h1>
        <dl>
            <?= Html::a("首页", ['site/']) ?>
            <?= Html::a("绿植套餐", ['/package/index']) ?>
            <?= Html::a("绿植定制", ['/custom/index']) ?>
            <?= Html::a("在线预约", ['/onlinebook/index']) ?>
            <?= Html::a("案例馆", ['site/casehall']) ?>
            <?= Html::a("关于我们", ['site/about']) ?>
        </dl>
    </div>
</div>
<!--头部结束-->


<?= $content; ?>


<!--底部开始-->
<div id="copy">Copyright © 2014 易租花. 保留所有权利。 沪ICP备11034300号-8 商务合作：service@ezuhua.com</div>


<?php AppAsset::addScript($this, "js/main.js"); ?>
<?php $this->beginBlock('commonParam'); ?>

var <?= Yii::$app->request->csrfParam; ?> = '<?= Yii::$app->request->csrfToken; ?>';

var cart_ajax_url = "";
var mounth = 0;

<?php
$this->endBlock();
$this->registerJs($this->blocks["commonParam"], \yii\web\View::POS_HEAD);
?>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
